Skip to content

fix(ext/node): use non-blocking write in fs.writev#32673

Merged
fraidev merged 1 commit intodenoland:mainfrom
fraidev:fix/node-writev-use-async-write
Mar 12, 2026
Merged

fix(ext/node): use non-blocking write in fs.writev#32673
fraidev merged 1 commit intodenoland:mainfrom
fraidev:fix/node-writev-use-async-write

Conversation

@fraidev
Copy link
Contributor

@fraidev fraidev commented Mar 12, 2026

fs.writev inner async function was calling io.writeSync (blocking) instead of io.write (async).
This switches to the non-blocking variant.

Also, enables 4 node compat tests:

  • test-fs-writev.js
  • test-fs-writev-promises.js
  • test-fs-writev-sync.js
  • test-pipe-writev.js

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was easy

@fraidev fraidev merged commit 3d05945 into denoland:main Mar 12, 2026
114 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants